package com.ghp.common.constants;

/**
 * @author ghp
 * @title 错误信息
 * @description
 */
public class ErrorMessageConstants {
    private ErrorMessageConstants() {
    }

    // 参数校验相关错误

    public static final String ACCOUNT_NOT_BLANK = "账号不能为空";
    public static final String ACCOUNT_LENGTH_ILLEGAL = "账号长度非法";

    public static final String PASSWORD_NOT_BLANK = "密码不能为空";
    public static final String PASSWORD_LENGTH_ILLEGAL = "密码长度非法";
    public static final String PASSWORD_CONTENT_ILLEGAL = "密码必须是字母和数字的组合";
    public static final String PARAMS_NOT_NULL = "参数不能为空";
    public static final String INTERFACE_NAME_NOT_NULL = "接口名不能为空";
    public static final String ACCESS_KEY_ILLEGAL = "accessKey非法";
    public static final String SIGNATURE_INCONSISTENCY = "签名不一致";

    public static final String REQUEST_STATE_INCONSISTENCY = "请求状态不一致";


    // 执行过程中的错误
    public static final String SCRIPT_EXECUTE_ERROR = "脚本执行出错";


    // 请求相关错误

    public static final String INTERFACE_NOT_EXISTS = "接口不存在";
    public static final String INTERFACE_DISABLE = "接口已关闭";

    public static final String INTERFACE_ALREADY_BUY = "接口已开通,请勿重复开通";

    public static final String INTERFACE_NOT_REMAIN = "接口已无剩余调用次数";

    public static final String INTERFACE_DECREMENT_FAIL = "接口调用次数扣减失败";
    public static final String ACCOUNT_NOT_EXISTS = "账号不存在";


}
